package com.onedec.finance.servier.serviceimp;

import com.onedec.finance.entity.OnedecMaterialList;
import com.onedec.finance.mapper.OnedecMaterialListMapper;
import com.onedec.finance.servier.OnedecAccountService;
import com.onedec.finance.servier.OnedecMaterialListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OnedecMaterialListServiceImp implements OnedecMaterialListService {
    @Autowired
    private OnedecMaterialListMapper materialListMapper;
    @Override
    public List<OnedecMaterialList> selectAllMaterialList() {
        List<OnedecMaterialList> lists = materialListMapper.selectByExample(null);
        return lists;
    }
}
